package ufpb.compiladores.lexico;

import org.w3c.dom.Document;
import org.w3c.dom.Element;

/**
 *
 * @author seminick
 */
public abstract class Automaton {

    protected Enviroment env;
    protected Reader reader;

    public Automaton(Enviroment env, Reader reader) {
        this.env=env;
        this.reader=reader;
    }
    
    public abstract LexicalTable generateTable(Document doc, Element p);
}
